package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.SysUsr;
import com.xzssmk.leisure.x.po.SysUsrExample;

public interface SysUsrMapper {
    long countByExample(SysUsrExample example);

    int deleteByExample(SysUsrExample example);

    int deleteByPrimaryKey(Integer usrId);

    int insert(SysUsr record);

    int insertSelective(SysUsr record);

    List<SysUsr> selectByExample(SysUsrExample example);

    SysUsr selectByPrimaryKey(Integer usrId);

    int updateByExampleSelective(@Param("record") SysUsr record, @Param("example") SysUsrExample example);

    int updateByExample(@Param("record") SysUsr record, @Param("example") SysUsrExample example);

    int updateByPrimaryKeySelective(SysUsr record);

    int updateByPrimaryKey(SysUsr record);

    SysUsr login(@Param("loginname") String loginname, @Param("loginpassword") String loginpassword);
}